package com.ruoyi.web.mapper;

import com.ruoyi.web.domain.ReservationRecord;

import java.util.List;

/**
 * 预约Mapper接口
 * 
 * @author ruoyi
 * @date 2023-11-02
 */
public interface ReservationRecordMapper 
{
    /**
     * 查询预约
     * 
     * @param id 预约主键
     * @return 预约
     */
    public ReservationRecord selectReservationRecordById(Long id);

    /**
     * 查询预约列表
     * 
     * @param reservationRecord 预约
     * @return 预约集合
     */
    public List<ReservationRecord> selectReservationRecordList(ReservationRecord reservationRecord);

    /**
     * 新增预约
     * 
     * @param reservationRecord 预约
     * @return 结果
     */
    public int insertReservationRecord(ReservationRecord reservationRecord);

    /**
     * 修改预约
     * 
     * @param reservationRecord 预约
     * @return 结果
     */
    public int updateReservationRecord(ReservationRecord reservationRecord);

    /**
     * 删除预约
     * 
     * @param id 预约主键
     * @return 结果
     */
    public int deleteReservationRecordById(Long id);

    /**
     * 批量删除预约
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteReservationRecordByIds(String[] ids);
}
